package cn.credit.loan.service.repayment;

import java.util.List;

import cn.credit.loan.entity.Repayment;

public interface RepaymentService {
	/**
	 * 还款记录信息添加
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public boolean getRepaymentAdd(Repayment repayment)throws Exception;
	/**
	 * 还款记录信息更新
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public boolean getRepaymentUpdate(Repayment repayment)throws Exception;
	/**
	 * 还款记录信息删除
	 * @param repaymentId
	 * @return
	 * @throws Exception
	 */
	public boolean getRepaymentDelete(int repaymentId)throws Exception;
	/**
	 * 还款记录信息查询
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public List<Repayment> getRepaymentList(Repayment repayment)throws Exception;
}
